
class PyTdApi : public TdApi {

};
PYBIND11_MODULE(vnoestd, m) {
//    py::class_<TdApi, PyTdApi> TdApi_(m, "TdApi", py::module_local());
//TdApi_
py::class_<TdApi>(m, "TdApi")
.def(py::init<>())
.def("init", &TdApi::init)
.def("stop", &TdApi::stop)
.def("sendBatchOrdersReq", &TdApi::sendBatchOrdersReq)
.def("sendOrderReq", &TdApi::sendOrderReq)
.def("sendOrderCancelReq", &TdApi::sendOrderCancelReq)
.def("sendFundTransferReq", &TdApi::sendFundTransferReq)
.def("sendChangePasswordReq", &TdApi::sendChangePasswordReq)
.def("sendOptSettlementConfirmReq", &TdApi::sendOptSettlementConfirmReq)
.def("sendHeartbeat", &TdApi::sendHeartbeat)
.def("sendTestReq", &TdApi::sendTestReq)
.def("querySingleOrder", &TdApi::querySingleOrder)
.def("querySingleCashAsset", &TdApi::querySingleCashAsset)
.def("querySingleStkHolding", &TdApi::querySingleStkHolding)
.def("queryBrokerParamsInfo", &TdApi::queryBrokerParamsInfo)
;
}
